///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Aug 22 2007)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#ifdef WX_PRECOMP

#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__

#else
#include <wx/wx.h>
#endif //WX_PRECOMP

#include "ThresholdDialogTemplate.h"

///////////////////////////////////////////////////////////////////////////

ThresholdDialogTemplate::ThresholdDialogTemplate( wxWindow* parent, int id, wxString title, wxPoint pos, wxSize size, int style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer1;
	bSizer1 = new wxBoxSizer( wxVERTICAL );
	
	staticTextLU = new wxStaticText( this, wxID_ANY, wxT("Low Umbral"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextLU->Wrap( -1 );
	bSizer1->Add( staticTextLU, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
	
	wxBoxSizer* bSizer2;
	bSizer2 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextLUH = new wxStaticText( this, wxID_ANY, wxT("H"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextLUH->Wrap( -1 );
	bSizer2->Add( staticTextLUH, 0, wxALL, 5 );
	
	sliderLUH = new wxSlider( this, wxID_ANY, 128, 0, 255, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
	bSizer2->Add( sliderLUH, 1, wxALL|wxEXPAND, 5 );
	
	bSizer1->Add( bSizer2, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer21;
	bSizer21 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextLUS = new wxStaticText( this, wxID_ANY, wxT("S"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextLUS->Wrap( -1 );
	bSizer21->Add( staticTextLUS, 0, wxALL, 5 );
	
	sliderLUS = new wxSlider( this, wxID_ANY, 128, 0, 255, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
	bSizer21->Add( sliderLUS, 1, wxALL|wxEXPAND, 5 );
	
	bSizer1->Add( bSizer21, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer22;
	bSizer22 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextLUV = new wxStaticText( this, wxID_ANY, wxT("V"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextLUV->Wrap( -1 );
	bSizer22->Add( staticTextLUV, 0, wxALL, 5 );
	
	sliderLUV = new wxSlider( this, wxID_ANY, 128, 0, 255, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
	bSizer22->Add( sliderLUV, 1, wxALL|wxEXPAND, 5 );
	
	bSizer1->Add( bSizer22, 1, wxEXPAND, 5 );
	
	staticTextHU = new wxStaticText( this, wxID_ANY, wxT("High Umbral"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextHU->Wrap( -1 );
	bSizer1->Add( staticTextHU, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );
	
	wxBoxSizer* bSizer23;
	bSizer23 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextHUH = new wxStaticText( this, wxID_ANY, wxT("H"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextHUH->Wrap( -1 );
	bSizer23->Add( staticTextHUH, 0, wxALL, 5 );
	
	sliderHUH = new wxSlider( this, wxID_ANY, 128, 0, 255, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
	bSizer23->Add( sliderHUH, 1, wxALL|wxEXPAND, 5 );
	
	bSizer1->Add( bSizer23, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer24;
	bSizer24 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextHUS = new wxStaticText( this, wxID_ANY, wxT("S"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextHUS->Wrap( -1 );
	bSizer24->Add( staticTextHUS, 0, wxALL, 5 );
	
	sliderHUS = new wxSlider( this, wxID_ANY, 128, 0, 255, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
	bSizer24->Add( sliderHUS, 1, wxALL|wxEXPAND, 5 );
	
	bSizer1->Add( bSizer24, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizer25;
	bSizer25 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextHUV = new wxStaticText( this, wxID_ANY, wxT("V"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextHUV->Wrap( -1 );
	bSizer25->Add( staticTextHUV, 0, wxALL, 5 );
	
	sliderHUV = new wxSlider( this, wxID_ANY, 128, 0, 255, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
	bSizer25->Add( sliderHUV, 1, wxALL|wxEXPAND, 5 );
	
	bSizer1->Add( bSizer25, 1, wxEXPAND, 5 );
	
	this->SetSizer( bSizer1 );
	this->Layout();
	
	// Connect Events
	sliderLUH->Connect( wxEVT_SCROLL_TOP, wxScrollEventHandler( ThresholdDialogTemplate::OnLUHScroll ), NULL, this );
	sliderLUH->Connect( wxEVT_SCROLL_BOTTOM, wxScrollEventHandler( ThresholdDialogTemplate::OnLUHScroll ), NULL, this );
	sliderLUH->Connect( wxEVT_SCROLL_LINEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnLUHScroll ), NULL, this );
	sliderLUH->Connect( wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnLUHScroll ), NULL, this );
	sliderLUH->Connect( wxEVT_SCROLL_PAGEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnLUHScroll ), NULL, this );
	sliderLUH->Connect( wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnLUHScroll ), NULL, this );
	sliderLUH->Connect( wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler( ThresholdDialogTemplate::OnLUHScroll ), NULL, this );
	sliderLUH->Connect( wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler( ThresholdDialogTemplate::OnLUHScroll ), NULL, this );
	sliderLUH->Connect( wxEVT_SCROLL_CHANGED, wxScrollEventHandler( ThresholdDialogTemplate::OnLUHScroll ), NULL, this );
	sliderLUS->Connect( wxEVT_SCROLL_TOP, wxScrollEventHandler( ThresholdDialogTemplate::OnLUSScroll ), NULL, this );
	sliderLUS->Connect( wxEVT_SCROLL_BOTTOM, wxScrollEventHandler( ThresholdDialogTemplate::OnLUSScroll ), NULL, this );
	sliderLUS->Connect( wxEVT_SCROLL_LINEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnLUSScroll ), NULL, this );
	sliderLUS->Connect( wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnLUSScroll ), NULL, this );
	sliderLUS->Connect( wxEVT_SCROLL_PAGEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnLUSScroll ), NULL, this );
	sliderLUS->Connect( wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnLUSScroll ), NULL, this );
	sliderLUS->Connect( wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler( ThresholdDialogTemplate::OnLUSScroll ), NULL, this );
	sliderLUS->Connect( wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler( ThresholdDialogTemplate::OnLUSScroll ), NULL, this );
	sliderLUS->Connect( wxEVT_SCROLL_CHANGED, wxScrollEventHandler( ThresholdDialogTemplate::OnLUSScroll ), NULL, this );
	sliderLUV->Connect( wxEVT_SCROLL_TOP, wxScrollEventHandler( ThresholdDialogTemplate::OnLUVScroll ), NULL, this );
	sliderLUV->Connect( wxEVT_SCROLL_BOTTOM, wxScrollEventHandler( ThresholdDialogTemplate::OnLUVScroll ), NULL, this );
	sliderLUV->Connect( wxEVT_SCROLL_LINEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnLUVScroll ), NULL, this );
	sliderLUV->Connect( wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnLUVScroll ), NULL, this );
	sliderLUV->Connect( wxEVT_SCROLL_PAGEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnLUVScroll ), NULL, this );
	sliderLUV->Connect( wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnLUVScroll ), NULL, this );
	sliderLUV->Connect( wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler( ThresholdDialogTemplate::OnLUVScroll ), NULL, this );
	sliderLUV->Connect( wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler( ThresholdDialogTemplate::OnLUVScroll ), NULL, this );
	sliderLUV->Connect( wxEVT_SCROLL_CHANGED, wxScrollEventHandler( ThresholdDialogTemplate::OnLUVScroll ), NULL, this );
	sliderHUH->Connect( wxEVT_SCROLL_TOP, wxScrollEventHandler( ThresholdDialogTemplate::OnHUHScroll ), NULL, this );
	sliderHUH->Connect( wxEVT_SCROLL_BOTTOM, wxScrollEventHandler( ThresholdDialogTemplate::OnHUHScroll ), NULL, this );
	sliderHUH->Connect( wxEVT_SCROLL_LINEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnHUHScroll ), NULL, this );
	sliderHUH->Connect( wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnHUHScroll ), NULL, this );
	sliderHUH->Connect( wxEVT_SCROLL_PAGEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnHUHScroll ), NULL, this );
	sliderHUH->Connect( wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnHUHScroll ), NULL, this );
	sliderHUH->Connect( wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler( ThresholdDialogTemplate::OnHUHScroll ), NULL, this );
	sliderHUH->Connect( wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler( ThresholdDialogTemplate::OnHUHScroll ), NULL, this );
	sliderHUH->Connect( wxEVT_SCROLL_CHANGED, wxScrollEventHandler( ThresholdDialogTemplate::OnHUHScroll ), NULL, this );
	sliderHUS->Connect( wxEVT_SCROLL_TOP, wxScrollEventHandler( ThresholdDialogTemplate::OnHUSScroll ), NULL, this );
	sliderHUS->Connect( wxEVT_SCROLL_BOTTOM, wxScrollEventHandler( ThresholdDialogTemplate::OnHUSScroll ), NULL, this );
	sliderHUS->Connect( wxEVT_SCROLL_LINEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnHUSScroll ), NULL, this );
	sliderHUS->Connect( wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnHUSScroll ), NULL, this );
	sliderHUS->Connect( wxEVT_SCROLL_PAGEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnHUSScroll ), NULL, this );
	sliderHUS->Connect( wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnHUSScroll ), NULL, this );
	sliderHUS->Connect( wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler( ThresholdDialogTemplate::OnHUSScroll ), NULL, this );
	sliderHUS->Connect( wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler( ThresholdDialogTemplate::OnHUSScroll ), NULL, this );
	sliderHUS->Connect( wxEVT_SCROLL_CHANGED, wxScrollEventHandler( ThresholdDialogTemplate::OnHUSScroll ), NULL, this );
	sliderHUV->Connect( wxEVT_SCROLL_TOP, wxScrollEventHandler( ThresholdDialogTemplate::OnHUVScroll ), NULL, this );
	sliderHUV->Connect( wxEVT_SCROLL_BOTTOM, wxScrollEventHandler( ThresholdDialogTemplate::OnHUVScroll ), NULL, this );
	sliderHUV->Connect( wxEVT_SCROLL_LINEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnHUVScroll ), NULL, this );
	sliderHUV->Connect( wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnHUVScroll ), NULL, this );
	sliderHUV->Connect( wxEVT_SCROLL_PAGEUP, wxScrollEventHandler( ThresholdDialogTemplate::OnHUVScroll ), NULL, this );
	sliderHUV->Connect( wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler( ThresholdDialogTemplate::OnHUVScroll ), NULL, this );
	sliderHUV->Connect( wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler( ThresholdDialogTemplate::OnHUVScroll ), NULL, this );
	sliderHUV->Connect( wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler( ThresholdDialogTemplate::OnHUVScroll ), NULL, this );
	sliderHUV->Connect( wxEVT_SCROLL_CHANGED, wxScrollEventHandler( ThresholdDialogTemplate::OnHUVScroll ), NULL, this );
}
